Integrand size = 27, antiderivative size = 108 \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=-\frac {5 e^2 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {2 e \left (d^2-e^2 x^2\right )^{3/2}}{3 d x^3}+\frac {5 e^4 \text {arctanh}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{8 d} \]
[Out]
Time = 0.10 (sec) , antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.259, Rules used = {866, 1821, 821, 272, 43, 65, 214} \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=\frac {5 e^4 \text {arctanh}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{8 d}-\frac {5 e^2 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {2 e \left (d^2-e^2 x^2\right )^{3/2}}{3 d x^3} \]
[In]
[Out]
Rule 43
Rule 65
Rule 214
Rule 272
Rule 821
Rule 866
Rule 1821
Rubi steps \begin{align*} \text {integral}& = \int \frac {(d-e x)^2 \sqrt {d^2-e^2 x^2}}{x^5} \, dx \\ & = -\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}-\frac {\int \frac {\left (8 d^3 e-5 d^2 e^2 x\right ) \sqrt {d^2-e^2 x^2}}{x^4} \, dx}{4 d^2} \\ & = -\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {2 e \left (d^2-e^2 x^2\right )^{3/2}}{3 d x^3}+\frac {1}{4} \left (5 e^2\right ) \int \frac {\sqrt {d^2-e^2 x^2}}{x^3} \, dx \\ & = -\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {2 e \left (d^2-e^2 x^2\right )^{3/2}}{3 d x^3}+\frac {1}{8} \left (5 e^2\right ) \text {Subst}\left (\int \frac {\sqrt {d^2-e^2 x}}{x^2} \, dx,x,x^2\right ) \\ & = -\frac {5 e^2 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {2 e \left (d^2-e^2 x^2\right )^{3/2}}{3 d x^3}-\frac {1}{16} \left (5 e^4\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {d^2-e^2 x}} \, dx,x,x^2\right ) \\ & = -\frac {5 e^2 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {2 e \left (d^2-e^2 x^2\right )^{3/2}}{3 d x^3}+\frac {1}{8} \left (5 e^2\right ) \text {Subst}\left (\int \frac {1}{\frac {d^2}{e^2}-\frac {x^2}{e^2}} \, dx,x,\sqrt {d^2-e^2 x^2}\right ) \\ & = -\frac {5 e^2 \sqrt {d^2-e^2 x^2}}{8 x^2}-\frac {\left (d^2-e^2 x^2\right )^{3/2}}{4 x^4}+\frac {2 e \left (d^2-e^2 x^2\right )^{3/2}}{3 d x^3}+\frac {5 e^4 \tanh ^{-1}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{8 d} \\ \end{align*}
Time = 0.29 (sec) , antiderivative size = 114, normalized size of antiderivative = 1.06 \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=\frac {\sqrt {d^2-e^2 x^2} \left (-6 d^3+16 d^2 e x-9 d e^2 x^2-16 e^3 x^3\right )}{24 d x^4}+\frac {5 e^4 \log (x)}{8 \sqrt {d^2}}-\frac {5 e^4 \log \left (\sqrt {d^2}-\sqrt {d^2-e^2 x^2}\right )}{8 \sqrt {d^2}} \]
[In]
[Out]
Time = 0.46 (sec) , antiderivative size = 96, normalized size of antiderivative = 0.89
method | result | size |
risch | \(-\frac {\sqrt {-e^{2} x^{2}+d^{2}}\, \left (16 e^{3} x^{3}+9 d \,e^{2} x^{2}-16 d^{2} e x +6 d^{3}\right )}{24 x^{4} d}+\frac {5 e^{4} \ln \left (\frac {2 d^{2}+2 \sqrt {d^{2}}\, \sqrt {-e^{2} x^{2}+d^{2}}}{x}\right )}{8 \sqrt {d^{2}}}\) | \(96\) |
default | \(\text {Expression too large to display}\) | \(1153\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.80 \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=-\frac {15 \, e^{4} x^{4} \log \left (-\frac {d - \sqrt {-e^{2} x^{2} + d^{2}}}{x}\right ) + {\left (16 \, e^{3} x^{3} + 9 \, d e^{2} x^{2} - 16 \, d^{2} e x + 6 \, d^{3}\right )} \sqrt {-e^{2} x^{2} + d^{2}}}{24 \, d x^{4}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 5.18 (sec) , antiderivative size = 422, normalized size of antiderivative = 3.91 \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=d^{2} \left (\begin {cases} - \frac {d^{2}}{4 e x^{5} \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}} + \frac {3 e}{8 x^{3} \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}} - \frac {e^{3}}{8 d^{2} x \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}} + \frac {e^{4} \operatorname {acosh}{\left (\frac {d}{e x} \right )}}{8 d^{3}} & \text {for}\: \left |{\frac {d^{2}}{e^{2} x^{2}}}\right | > 1 \\\frac {i d^{2}}{4 e x^{5} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {3 i e}{8 x^{3} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} + \frac {i e^{3}}{8 d^{2} x \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {i e^{4} \operatorname {asin}{\left (\frac {d}{e x} \right )}}{8 d^{3}} & \text {otherwise} \end {cases}\right ) - 2 d e \left (\begin {cases} - \frac {e \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}}{3 x^{2}} + \frac {e^{3} \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}}{3 d^{2}} & \text {for}\: \left |{\frac {d^{2}}{e^{2} x^{2}}}\right | > 1 \\- \frac {i e \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}}{3 x^{2}} + \frac {i e^{3} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}}{3 d^{2}} & \text {otherwise} \end {cases}\right ) + e^{2} \left (\begin {cases} - \frac {e \sqrt {\frac {d^{2}}{e^{2} x^{2}} - 1}}{2 x} + \frac {e^{2} \operatorname {acosh}{\left (\frac {d}{e x} \right )}}{2 d} & \text {for}\: \left |{\frac {d^{2}}{e^{2} x^{2}}}\right | > 1 \\\frac {i d^{2}}{2 e x^{3} \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {i e}{2 x \sqrt {- \frac {d^{2}}{e^{2} x^{2}} + 1}} - \frac {i e^{2} \operatorname {asin}{\left (\frac {d}{e x} \right )}}{2 d} & \text {otherwise} \end {cases}\right ) \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.20 \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=\frac {5 \, e^{4} \log \left (\frac {2 \, d^{2}}{{\left | x \right |}} + \frac {2 \, \sqrt {-e^{2} x^{2} + d^{2}} d}{{\left | x \right |}}\right )}{8 \, d} - \frac {5 \, \sqrt {-e^{2} x^{2} + d^{2}} e^{4}}{8 \, d^{2}} - \frac {5 \, {\left (-e^{2} x^{2} + d^{2}\right )}^{\frac {3}{2}} e^{2}}{8 \, d^{2} x^{2}} + \frac {2 \, {\left (-e^{2} x^{2} + d^{2}\right )}^{\frac {3}{2}} e}{3 \, d x^{3}} - \frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{\frac {3}{2}}}{4 \, x^{4}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.32 (sec) , antiderivative size = 246, normalized size of antiderivative = 2.28 \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=\frac {1}{192} \, {\left (\frac {120 \, e^{3} \log \left (\sqrt {\frac {2 \, d}{e x + d} - 1} + 1\right ) \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right )}{d} - \frac {120 \, e^{3} \log \left ({\left | \sqrt {\frac {2 \, d}{e x + d} - 1} - 1 \right |}\right ) \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right )}{d} + \frac {4 \, {\left (15 \, e^{3} \log \left (2\right ) - 30 \, e^{3} \log \left (i + 1\right ) + 32 i \, e^{3}\right )} \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right )}{d} - \frac {15 \, e^{3} {\left (\frac {2 \, d}{e x + d} - 1\right )}^{\frac {7}{2}} \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right ) + 73 \, e^{3} {\left (\frac {2 \, d}{e x + d} - 1\right )}^{\frac {5}{2}} \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right ) - 55 \, e^{3} {\left (\frac {2 \, d}{e x + d} - 1\right )}^{\frac {3}{2}} \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right ) + 15 \, e^{3} \sqrt {\frac {2 \, d}{e x + d} - 1} \mathrm {sgn}\left (\frac {1}{e x + d}\right ) \mathrm {sgn}\left (e\right )}{d {\left (\frac {d}{e x + d} - 1\right )}^{4}}\right )} {\left | e \right |} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (d^2-e^2 x^2\right )^{5/2}}{x^5 (d+e x)^2} \, dx=\int \frac {{\left (d^2-e^2\,x^2\right )}^{5/2}}{x^5\,{\left (d+e\,x\right )}^2} \,d x \]
[In]
[Out]